package com.example.demo.service;

import com.example.demo.common.domain.LeaveRecordPlus;
import com.example.demo.common.domain.Leave_Record;

import java.util.List;

public interface LeaveService {
    public void insertSelective(Leave_Record record);

    List<Leave_Record> selectAll();

    List<LeaveRecordPlus> selectAllPlus();

    Leave_Record selectByPrimaryId(Integer lid);

    void updateGIdByPrimaryId(Integer lid, Integer gid);

    void updateDIdByPrimaryId(Integer lid, Integer did);

    void updateDivIdByPrimaryId(Integer lid, Integer divid);

    List<LeaveRecordPlus> GeneralSelectAllLeave();

    List<LeaveRecordPlus> DeputySelectAllLeave();
}
